<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>17_flex布局.html</title>
    <link rel="stylesheet" href="./day01/css/basic.css" />
    <style>
      .container_row {
        display: flex;
        flex-direction: row;
        /* justify-content: center; */
        /* 居中对齐 */
        /* justify-content: space-between; */
        /* 两头对齐 */
        /* justify-content: space-evenly; */
        /* 均分 */
        justify-content: space-around;
        /* 间隔相等 */
        background-color: aqua;
        height: 50vh;
      }
      .row_item {
        width: 10vw;
        height: 100px;
        background-color: pink;
        margin: 0 10px;
        text-align: center;
        justify-content: center;
        font-size: 30px;
        color: white;
      }
      .container_row:nth-child(6),
      .container_row:nth-child(1) {
        flex: 1;
      }
      .row_item:nth-child(3){
        align-self: flex-end;
      }
    </style>
  </head>
  <body>
    <h1>横向布局</h1>
    <div class="container_row">
        <div class="row_item"></div>
        <div class="row_item"></div>
        <div class="row_item"></div>
        <div class="row_item"></div>
        <div class="row_item"></div>
        <div class="row_item"></div>
    </div>
   
  </body>
</html>
